VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / UnitsToPixels Methods / UnitsToPixels(PointF[],Resolution) Method
Syntax Requirements SeeAlso
In This Topic
    UnitsToPixels(PointF[],Resolution) Method (PdfPage)
    In This Topic
    Converts points from image coordinate space to PDF page coordinate space taking into account the image resolution and PDF page media box.
    Syntax
    'Declaration
    
    Public Overloads Sub UnitsToPixels( _
    ByVal points
    Provides point, in the image's coordinate space, to convert; returns the converted point, in the PDF page's coordinate space.
    () As System.Drawing.PointF, _
    ByVal imageResolution
    Resolution of the image coordinate space.
    As Vintasoft.Imaging.Resolution _
    )
    public void UnitsToPixels(
    System.Drawing.PointF[] points,
    Vintasoft.Imaging.Resolution imageResolution
    )
    public: void UnitsToPixels(
    System.Drawing.PointF[]* points,
    Vintasoft.Imaging.Resolution imageResolution
    )
    public:
    void UnitsToPixels(
    array<System.Drawing.PointF>^ points,
    Vintasoft.Imaging.Resolution imageResolution
    )

    Parameters

    points
    Provides point, in the image's coordinate space, to convert; returns the converted point, in the PDF page's coordinate space.
    imageResolution
    Resolution of the image coordinate space.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also